package com.choosefine.it.worker.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
@ApiModel("订单")
/**
 * 只用于数据说明，不做任何数据传递
 * @author Administrator
 *
 */
public class ShoppingOrderVO {
    @ApiModelProperty(value = "订单id",required = true)
    private Long id;
    @ApiModelProperty(value = "订单号")
    private String serializedId;

    @ApiModelProperty(value = "买家id",required = true)
    private Long buyerId;
    @ApiModelProperty(value = "买家名字",required = true)
    private String buyerName;

    @ApiModelProperty(value = "班组id",required = true)
    private Long teamId;
    @ApiModelProperty(value = "班组姓名",required = true)
    private String teamName;

    @ApiModelProperty(value = "买家公司id")
    private Long buyerCompanyId;
    @ApiModelProperty(value = "买家公司名称")
    private String buyerCompanyName;

    @ApiModelProperty(value = "卖家id",required = true)
    private Long sellerId;
    @ApiModelProperty(value = "卖家名称",required = true)
    private String sellerName;

    @ApiModelProperty(value = "供应商公司id",required = true)
    private Long shopId;
    @ApiModelProperty(value = "供应商姓名",required = true)
    private String shopName;

    @ApiModelProperty(value = "联系人姓名",required = true)
    private String receiverName;
    @ApiModelProperty(value = "联系人电话",required = true)
    private String receiverPhone;

    @ApiModelProperty(value = "联系人地址",required = true)
    private String receiverAddress;
    @ApiModelProperty(value = "项目id",required = true)
    private Long projectId;

    @ApiModelProperty(value = "订单类型 1 for 购买, 2 for 租赁",required = true)
    private Byte buyType;
    @ApiModelProperty(value = "订单商品类型1 for 材料，2 for 设施，3 for 设备",required = true)
    private Byte merchandiseType;

    @ApiModelProperty(value = "支付类型  1个人付款  2公司付款")
    private Byte payType;
    @ApiModelProperty(value = "支付状态",required = true)
    private Byte payStatus;
    @ApiModelProperty(value = "物流状态")
    private Byte transportStatus;

    @ApiModelProperty(value = "完结状态",required = true)
    private Byte finishStatus;
    @ApiModelProperty(value = "订单缩略图")
    private String imgUrl;

    @ApiModelProperty(value = "订单价格(原价)",required = true)
    private BigDecimal originalPrice;
    @ApiModelProperty(value = "实际价格(需支付的总价)",required = true)
    private BigDecimal actualPrice;

    @ApiModelProperty(value = "未付款总价",required = true)
    private BigDecimal owedPaymentAmount;
    @ApiModelProperty(value = "下单时间",required = true)
    private Date createdAt;

    @JsonIgnore
    private Date updatedAt;
    @JsonIgnore
    private Date deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSerializedId() {
        return serializedId;
    }

    public void setSerializedId(String serializedId) {
        this.serializedId = serializedId == null ? null : serializedId.trim();
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName == null ? null : buyerName.trim();
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName == null ? null : teamName.trim();
    }

    public Long getBuyerCompanyId() {
        return buyerCompanyId;
    }

    public void setBuyerCompanyId(Long buyerCompanyId) {
        this.buyerCompanyId = buyerCompanyId;
    }

    public String getBuyerCompanyName() {
        return buyerCompanyName;
    }

    public void setBuyerCompanyName(String buyerCompanyName) {
        this.buyerCompanyName = buyerCompanyName == null ? null : buyerCompanyName.trim();
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName == null ? null : sellerName.trim();
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone == null ? null : receiverPhone.trim();
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Byte getBuyType() {
        return buyType;
    }

    public void setBuyType(Byte buyType) {
        this.buyType = buyType;
    }

    public Byte getMerchandiseType() {
        return merchandiseType;
    }

    public void setMerchandiseType(Byte merchandiseType) {
        this.merchandiseType = merchandiseType;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Byte getTransportStatus() {
        return transportStatus;
    }

    public void setTransportStatus(Byte transportStatus) {
        this.transportStatus = transportStatus;
    }

    public Byte getFinishStatus() {
        return finishStatus;
    }

    public void setFinishStatus(Byte finishStatus) {
        this.finishStatus = finishStatus;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(BigDecimal actualPrice) {
        this.actualPrice = actualPrice;
    }

    public BigDecimal getOwedPaymentAmount() {
        return owedPaymentAmount;
    }

    public void setOwedPaymentAmount(BigDecimal owedPaymentAmount) {
        this.owedPaymentAmount = owedPaymentAmount;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }

    public Byte getPayType() {
        return payType;
    }

    public void setPayType(Byte payType) {
        this.payType = payType;
    }
}